using System;
using System.Collections.Generic;
using Volo.Abp.Application.Dtos;

namespace ERP.ProductionManage.Dtos
{
    /// <summary>
    /// 客户订单 DTO
    /// </summary>
    public class CustomerOrderDto : EntityDto<int>
    {
        /// <summary>
        /// 订单编码
        /// </summary>
        public string OrderCode { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 订货日期
        /// </summary>
        public DateTime OrderDate { get; set; }

        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime DeliveryDate { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 订货数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 订单状态   0 草稿   1 已生成生产工单
        /// </summary>
        public int OrderStatus { get; set; }

        /// <summary>
        /// 质量要求说明
        /// </summary>
        public string QualityRequirements { get; set; }

        /// <summary>
        /// 订单状态文本
        /// </summary>
        public string OrderStatusText { get; set; }

        /// <summary>
        /// 订单详情列表
        /// </summary>
        public List<CustomerOrderDetailDto> Details { get; set; } = new List<CustomerOrderDetailDto>();
    }
} 